<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>大客户管理</title>
    <%@include file="../../../static/common/common.jsp"%>
    <script src="/static/js/school.js"></script>
</head>
<!--非常关键-->
<jsp:include page="/static/style/loader.jsp"></jsp:include>
<body>
<table id="school_datagrid"></table>
<div id="school_btns">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a  class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"
       data-cmd="del">删除</a>
    <a id="changeState_btn" class="easyui-linkbutton" data-options="iconCls:'icon-man',plain:true" data-cmd="changeState">签约</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="see">查看</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-undo',plain:true" data-cmd="exportXls">导出</a>

    <input class="easyui-textbox" name="keyword" prompt="学校或地址">

    意向学科:<input class="easyui-combobox" name="subject"
                data-options="url:'/dictionaryItem/getItemBySn.do?sn=intentionMajor',valueField:'name',textField:'name',                                   panelHeight:'auto',prompt:'意向学科',">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="query"></a>

</div>
<div id="save_btns">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>
<div id="school_dialog">
    <form id="school_form" method="post">
        <input id="schoolId" type="hidden" name="id">
        <table align="center" style="margin-top: 15px" cellspacing="10">
            <tr>
                <td>学校:</td>
                <td><input class="easyui-textbox" name="school" prompt="请输入学校"></td>

                <td>地址:</td>
                <td><input class="easyui-textbox" name="site"></td>

                <td>重要性:</td>
                <td><input class="easyui-combobox" name="importance"
                           data-options="url:'/dictionaryItem/getItemBySn.do?sn=importance',textField:'name',valueField:'name',panelHeight:'auto'"/>
                </td>

            </tr>
            <tr>
                <td>意向程度:</td>
                <td><input class="easyui-combobox" name="intentionDegree"
                           data-options="url:'/dictionaryItem/getItemBySn.do?sn=intentionDegree',textField:'name',                                               valueField:'name',panelHeight:'auto'"/>
                </td>

                <td>意向学科:</td>
                <td><input class="easyui-combobox" name="intentionSubject"
                           data-options="url:'/dictionaryItem/getItemBySn.do?sn=intentionMajor',textField:'name',                                               valueField:'name',panelHeight:'auto'"/>
                </td>



                <td>意向学区:</td>
                <td><input class="easyui-combobox" name="college"
                           data-options="url:'/dictionaryItem/getItemBySn.do?sn=intentionArea',textField:'name',                                               valueField:'name',panelHeight:'auto'"/>
                </td>

            </tr>
            <tr>
                <td>联系人:</td>
                <td><input class="easyui-combobox" name="linkmanContacts.id"
                           data-options="url:'/linkman/selectAll.do',textField:'name',                                                                  valueField:'id',panelHeight:'auto'"/>
                </td>

                <td>营销人员:</td>
                <td><input class="easyui-combobox" name="marketingPersonnel"
                           data-options="url:'/employee/selectAll.do',textField:'username',valueField:'username',panelHeight:'auto'"/>
                </td>

                <td>跟进人员:</td>

                <td><input class="easyui-combobox" name="followStaff" data-options="url:'/employee/selectAll.do',textField:'username',valueField:'username',panelHeight:'auto'"></td>

            </tr>

            <tr>
                <td>上次跟进时间:</td>
                <td><input class="easyui-datetimebox" name="lastFollowTime"></td>

                <td>下次次跟进时间:</td>
                <td><input class="easyui-datetimebox" name="nextFollowTime"></td>

                <td>跟进状态:</td>
                <td><input class="easyui-combobox" name="followState" data-options="data:[
                        {
                            name:'已跟进',
                            value:'1'
                        },{name:'待跟进',value:'0'}],valueField:'value',textField:'name',panelHeight:'auto'"></td>
            </tr>

            <tr>
                <td>客服状态:</td>
                <td><input class="easyui-combobox" name="serviceState" data-options="data:[
                        {
                            name:'已签约',
                            value:'1'
                        },{name:'未签约',value:'0'}],valueField:'value',textField:'name',panelHeight:'auto'"></td>
                <td>学校电话:</td>
                <td><input class="easyui-textbox" name="phone"></td>

                <td>邮箱:</td>
                <td><input class="easyui-textbox" name="email"></td>
            </tr>
            <tr>
                <td>学生人数:</td>
                <td><input class="easyui-textbox" name="stuNumber"></td>

                <td>IT专业人数:</td>
                <td><input class="easyui-textbox" name="itStuNumber"></td>

                <td><span style="font-size: 14px">学校类型:</span></td>
                <td><input class="easyui-combobox" name="type"
                           data-options="url:'/dictionaryItem/getItemBySn.do?sn=type',textField:'name',valueField:'name',panelHeight:'auto'"/>
                </td>

            <tr>
                <td>传真:</td>
                <td><input class="easyui-textbox" name="telegraph"></td>

                <td>邮政编码:</td>
                <td><input class="easyui-textbox" name="postcode"></td>

                <td>教师数量:</td>
                <td><input class="easyui-textbox" name="teacheNumber"></td>
            </tr>
            <tr align="right" style="height: 80px">
                <td><span style="font-size: 14px">备注:
                <td colspan="6" align="left"><input type="textarea" name="remark"
                                                    style="height: 50px;width:620px"/>
                </td>
            </tr>
            <tr align="right">
                <td><span style="font-size: 14px">简介:
                <td colspan="6" align="left"><input type="textarea" name="introduction"
                                                    style="height: 50px;width: 620px"/>
                </td>
            </tr>


        </table>
    </form>
</div>
</body>
</html>
